package org.opens.guava.utilites.eventBus.listeners;

import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DeadEventListener {

    private final static Logger LOGGER = LoggerFactory.getLogger(DeadEventListener.class);


    @Subscribe
    public void handle(DeadEvent event) {
        LOGGER.info(event.getSource().toString());
        LOGGER.info(event.getEvent().toString());
    }

}
